package cn.gmcx.lazy.izze.mapper;

import cn.gmcx.lazy.izze.pojo.Tap;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TabMapper {

   @Select("select * from tab where id=#{id}")
    Tap selectById(Integer id);


   @Select("select * from tab")
   List<Tap> selectAll();
}
